home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-10-20 | 1.6 KB | 58 lines | [TEXT/NTP1] |
- /*
- © 1996 Ray Rischpater
- All Rights Reserved.
- dove@lothlorien.com
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public
- License along with this program; if not, write to the Free
- Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
- USA.
-
- */
-
- OpenResFile("Resources");
- DefineGlobalConstant('kAppIcon, GetPictAsBits("Icon", nil));
- CloseResFile();
-
- DefineGlobalConstant('kGetIPAddressOption,
- {
- label: "iprf",
- type: 'option,
- opCode: opGetCurrent,
- data:
- {
- argList:
- [
- [0,0,0,0], // local
- [0,0,0,0], // gateway
- ],
- typeList:
- [
- 'struct,
- ['array, 'byte, 4],
- ['array, 'byte, 4],
- ],
- },
- });
-
- DefineGlobalConstant('kGenericHTTPFileErrorString,
- "<H1>File not found</H1>" & unicodeLF &
- "The document you requested could not be found on this server.");
-
- DefineGlobalConstant('kGenericHTTPProtoErrorString,
- "<H1>Invalid Request</H1>" & unicodeLF &
- "This server only supports the <TT>GET</TT> command.");
-
- DefineGlobalConstant('kGenericHTTPTransErrorString,
- "<H1>File not found</H1>" & unicodeLF &
- "The document you requested could not be found on this server due to a translator error.");
-